import React from 'react'
import { NavLink,Outlet } from 'react-router-dom';
export default function List() {
  return (
    <>
      <div className='flex'>
        <NavLink className='list-group-item' to='news'>News</NavLink>
        <NavLink className='list-group-item' to='message'>Message</NavLink>
      </div>
      <Outlet/>
    </>
  )
}
